package com.android.youwenchuang.presenter;

import com.android.youwenchuang.App;
import com.android.youwenchuang.base.IPresenter;
import com.android.youwenchuang.bean.User;
import com.android.youwenchuang.gen.UserDao;
import com.android.youwenchuang.util.UserData;

import java.util.List;

public class MessagePresenter implements IPresenter {

    public List<User> getUserList() {
        List<User> list = App.mApp.getDaoSession().getUserDao().queryBuilder().where(UserDao.Properties.Name.notEq(UserData.user.name)).list();
        return list;
    }
}
